<!--
作者: 陈圳佳
日期: 2015/8/12
时间: 20:06
-->
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../commons/inc.jsp" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>scc 进销存管理系统后台界面</title>
    <link rel="stylesheet" href="${ctx}/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="${ctx}/css/flat-ui.min.css"/>
    <link rel="stylesheet" href="${ctx}/css/messenger.css"/>
    <link rel="stylesheet" href="${ctx}/css/messenger-theme-flat.css"/>

    <link rel="stylesheet" href="${ctx}/css/layout.css"/>
    <link rel="stylesheet" href="${ctx}/css/patch.css"/>

    <script src="${ctx}/js/jquery-1.11.3.min.js"></script>
    <script src="${ctx}/js/flat-ui.min.js"></script>
    <script src="${ctx}/js/bootstrap.min.js"></script>
    <script src="${ctx}/js/jquery.pjax.js"></script>
    <script src="${ctx}/js/angular.min.js"></script>
    <script src="${ctx}/js/messenger.min.js"></script>
    <script src="${ctx}/js/messenger-theme-flat.js"></script>

    <script src="${ctx}/js/commons.js"></script>
    <script src="${ctx}/js/h.js"></script>
</head>
<body ng-app="manage">
<div class="modal" id="load-dialog" aria-hidden="true">
    <div class="modal-dialog text-center">
        <img src="${ctx}/images/load1.jpg" alt="正在加载..." class="img-responsive"/>
    </div>
</div>
<!-- Modal -->
<div class="modal fade" id="edit-dialog" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content" id="edit-dialog-content">
        </div>
    </div>
</div>
<!-- navbar -->
<div class="navbar navbar-inverse">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" id="menu-toggler">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand">scc进存销管理系统</a>
        </div>
        <div class="collapse navbar-collapse" ng-controller="LoginOutController">
            <input type="hidden" ng-init="outObject.ctx='${ctx}'"/>
            <ul class="nav navbar-nav navbar-right">
                <li class="settings">
                    <a ng-click="out($event)" class="glyphicon glyphicon-share-alt btn-lg"></a>
                </li>
            </ul>
        </div>
    </div>
</div>
<!-- end navbar -->
<!-- sidebar -->
<div id="sidebar-nav">
    <div id="show-user" class="text-center">
        <dl>
            <dt id="show-date"></dt>
            <dd>${user.empName} 你好!</dd>

        </dl>
    </div>
    <ul id="dashboard-menu">
        <li>
            <a href="${ctx}/manage/home.html" data-pjax="#content">
                <span>主页</span>
                <i class="glyphicon glyphicon-home"></i>
            </a>
        </li>
        <li>
            <a class="dropdown-toggle" href="javascript:void(0)">
                <span>进货管理</span>
                <i class="glyphicon glyphicon-chevron-down"></i>
            </a>
            <ul class="submenu">
                <li><a href="${ctx}/manage/stock/edit.html" data-pjax="#content">添加进货单</a></li>
                <li><a href="${ctx}/manage/stock/list/1.html" data-pjax="#content">管理进货单</a></li>
            </ul>
        </li>
        <li>
            <a class="dropdown-toggle" href="javascript:void(0)">
                <span>销售管理</span>
                <i class="glyphicon glyphicon-chevron-down"></i>
            </a>
            <ul class="submenu">
                <li><a href="${ctx}/manage/sales/edit.html" data-pjax="#content">添加销售单</a></li>
                <li><a href="${ctx}/manage/sales/list/1.html" data-pjax="#content">销售单历史</a></li>
            </ul>
        </li>
        <li>
            <a class="dropdown-toggle" href="javascript:void(0)">
                <i class="glyphicon glyphicon-chevron-down" aria-hidden="true"></i>
                <span>系统管理</span>
            </a>
            <ul class="submenu">
                <li><a href="${ctx}/manage/custom/list/1.html" data-pjax="#content">管理客户</a></li>
                <li><a href="${ctx}/manage/supplier/list/1.html" data-pjax="#content">管理供应商</a></li>
            </ul>
        </li>
        <li>
            <a class="dropdown-toggle" href="javascript:void(0)">
                <i class="glyphicon glyphicon-chevron-down" aria-hidden="true"></i>
                <span>商品管理</span>
            </a>
            <ul class="submenu">
                <%--<li><a href="${ctx}/manage/shop/edit.html" data-pjax="#content">添加商品</a></li>--%>
                <li><a href="${ctx}/manage/goods/1.html" data-pjax="#content">管理商品</a></li>
            </ul>
        </li>
    </ul>
</div>
<!-- end sidebar -->
<!-- main container -->
<div id="content-parent">
    <div id="content" class="content" data-pjax-container="">

    </div>
</div>
<script>
    <%--var url = '${ctx}${requestScope.get('path')}';--%>
    var params = "?" + encodeURI("${requestScope.get('params')}");
</script>
</body>
</html>

